package com.lzh.persevere.model;

import java.util.List;
import java.util.Map;

/**
 * 分页参数
 */
public class PageModel {
    private int total;
    private List<Map<String, Object>> dataList;
    private int pageCount;
    private int pageSize = 15;
    private int pageNow = 1;
    private int startCount;
    private List<String> sort;
    private Map<String, Object> query;
    private Map<String, Object> compare;
    private List<String> filter;
    private int allCount;

    public PageModel() {
    }

    public Map<String, Object> getCompare() {
        return this.compare;
    }

    public void setCompare(Map<String, Object> compare) {
        this.compare = compare;
    }

    public int getTotal() {
        return this.total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<Map<String, Object>> getDataList() {
        return this.dataList;
    }

    public void setDataList(List<Map<String, Object>> dataList) {
        this.dataList = dataList;
    }

    public int getPageCount() {
        return this.pageCount;
    }

    public void setPageCount(int pageCount) {
        this.pageCount = pageCount;
    }

    public int getPageSize() {
        return this.pageSize;
    }

    public void setPageSize(int pageSize) {
        this.pageSize = pageSize;
    }

    public int getPageNow() {
        return this.pageNow;
    }

    public void setPageNow(int pageNow) {
        this.pageNow = pageNow;
    }

    public int getStartCount() {
        return this.startCount;
    }

    public void setStartCount(int startCount) {
        this.startCount = startCount;
    }

    public List<String> getSort() {
        return this.sort;
    }

    public void setSort(List<String> sort) {
        this.sort = sort;
    }

    public Map<String, Object> getQuery() {
        return this.query;
    }

    public void setQuery(Map<String, Object> query) {
        this.query = query;
    }

    public List<String> getFilter() {
        return this.filter;
    }

    public void setFilter(List<String> filter) {
        this.filter = filter;
    }

    public int getAllCount() {
        return this.allCount;
    }

    public void setAllCount(int userCount) {
        this.allCount = userCount;
    }
}
